forked from peers/peerjs
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reverse pull the upstream peerjs #1
Open
nandubatchu
wants to merge
493
commits into
cruxprotocol:master
Choose a base branch
from
peers:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jonasgloning
force-pushed
the
master
branch
2 times, most recently
from
May 17, 2022 12:10
c32d1d6
to
c0ba9e4
Compare
jonasgloning
force-pushed
the
master
branch
2 times, most recently
from
May 25, 2022 22:04
2b53de2
to
0c96603
Compare
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use the latest dependency versions. --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/peers/peerjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS40MC4wIiwidXBkYXRlZEluVmVyIjoiMzUuMTMxLjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->
### Problem `MediaConnection.close()` doesn't propagate the `close` event to the remote peer. ### Solution The proposed solution uses a similar approach to the `DataConnection`, where an aux data channel is created for the connection. This way, when we `MediaConnection.close()` the data channel will be closed and the `close` signal will be propagated to the remote peer. #### Notes I was not sure if there was another cleaner way of achieving this, without the extra data channel, but this seems to work pretty well (at least until a better solution comes up). This should fix: #636 --------- Co-authored-by: Jonas Gloning <[email protected]> Closes #636, Closes #1089, Closes #1032, Closes #832, Closes #780, Closes #653
This upgrades `binarypack` to version 2. `pack` now returns `ArrayBuffer`s which can be sent over all data channel types without asynchronous conversion. This implementation is also much faster than version 1. Closes #746
…iaConnection. After it fires, hanging up a call will close the connection on the remote peer gracefully.
ref PJS-2059
As we are still using `commonjs` in our `tsconfig.json` this commit uses `#paths` to overwrite the import path for the types only. The types are the same now, but could theoretically drift in the future.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github/codeql-action](https://togithub.com/github/codeql-action) | action | major | `v2` -> `v3` | --- ### Release Notes <details> <summary>github/codeql-action (github/codeql-action)</summary> ### [`v3`](https://togithub.com/github/codeql-action/compare/v2...v3) [Compare Source](https://togithub.com/github/codeql-action/compare/v2...v3) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/peers/peerjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMjEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMyMS4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Using CBOR forces us to choose between #1271 and #1247. Our complicated importing and bundling situation makes using this library very hard. CBOR support has been undocumented, and we are not aware of significant usage in the wild. Therefore, we do not consider this a breaking change. To make our expectations clearer, this PR also marks MessagePack as `experimental`. We will improve our importing and bundling situation before reintroducing CBOR via a plugin. Closes #1271
`jasmine` types are no longer available by default https://app.renovatebot.com/package-diff?name=@wdio%2fjasmine-framework&from=8.35.1&to=8.36.0
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@parcel/config-default](https://redirect.github.com/parcel-bundler/parcel) | [`2.12.0` -> `2.13.1`](https://renovatebot.com/diffs/npm/@parcel%2fconfig-default/2.12.0/2.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@parcel%2fconfig-default/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@parcel%2fconfig-default/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@parcel%2fconfig-default/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@parcel%2fconfig-default/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@parcel/packager-ts](https://redirect.github.com/parcel-bundler/parcel) | [`2.12.0` -> `2.13.1`](https://renovatebot.com/diffs/npm/@parcel%2fpackager-ts/2.12.0/2.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@parcel%2fpackager-ts/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@parcel%2fpackager-ts/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@parcel%2fpackager-ts/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@parcel%2fpackager-ts/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@parcel/transformer-typescript-tsc](https://redirect.github.com/parcel-bundler/parcel) | [`2.12.0` -> `2.13.1`](https://renovatebot.com/diffs/npm/@parcel%2ftransformer-typescript-tsc/2.12.0/2.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@parcel%2ftransformer-typescript-tsc/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@parcel%2ftransformer-typescript-tsc/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@parcel%2ftransformer-typescript-tsc/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@parcel%2ftransformer-typescript-tsc/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@parcel/transformer-typescript-types](https://redirect.github.com/parcel-bundler/parcel) | [`2.12.0` -> `2.13.1`](https://renovatebot.com/diffs/npm/@parcel%2ftransformer-typescript-types/2.12.0/2.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@parcel%2ftransformer-typescript-types/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@parcel%2ftransformer-typescript-types/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@parcel%2ftransformer-typescript-types/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@parcel%2ftransformer-typescript-types/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [parcel](https://redirect.github.com/parcel-bundler/parcel) | [`2.12.0` -> `2.13.1`](https://renovatebot.com/diffs/npm/parcel/2.12.0/2.13.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/parcel/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/parcel/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/parcel/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/parcel/2.12.0/2.13.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>parcel-bundler/parcel (@​parcel/config-default)</summary> ### [`v2.13.1`](https://redirect.github.com/parcel-bundler/parcel/blob/HEAD/CHANGELOG.md#2131---2024-11-24) [Compare Source](https://redirect.github.com/parcel-bundler/parcel/compare/v2.13.0...v2.13.1) ##### Fixed - JavaScript - Improve HMR with dynamic imports – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/10017) - Update SWC – [Details](https://redirect.github.com/parcel-bundler/parcel/commit/15c77cbe7557fb441df5d0fc09dab220f55fa4db) - SASS - Fix SASS resolution rules for modern API – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/10018) ### [`v2.13.0`](https://redirect.github.com/parcel-bundler/parcel/blob/HEAD/CHANGELOG.md#2130---2024-11-12) [Compare Source](https://redirect.github.com/parcel-bundler/parcel/compare/v2.12.0...v2.13.0) ##### Added - Core - Expose watcher ignore and watcher backend options – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9547) - Improve large watcher events payload experience – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9583) - Add support for globs in package.json#source – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9590) - Add config key invalidation – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9597) - Bundler - Add library bundler – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9489) - Dev Server - Support .proxyrc.ts – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9654) - Resolver - 12x faster resolver cache – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9984) - Correctly handle empty resolver diagnostics array – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9407) ##### Fixed - Core - Remove abortcontroller-polyfill – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9592) - Fix missing content key in symbol propagation when asset is removed – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9627) - Update minimum supported node version to 16 – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9645) - Ensure the snapshot directory matches the watch dir – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9653) - Add parcel version to PluginOptions – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9671) - Fix possible race condition in the caching of request graph – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9675) - Ensure empty extended config throws a diagnostic – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9701) - Ensure Asset public ids are assigned deterministically – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9706) - Directories ignored by watcher should be relative to the watch directory – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9703) - Fix request tracker incremental cache write for new nodes – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9719) - Improve request graph cache reading – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9721) - Exit process with error code when reporters fail – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9735) - Write tmp files to the OS tmp directory - [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9580) - Fix small HMR issues – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9869) - Fix crash in EntryRequest with multiple globs in the source field – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9901) - Revert split manifest runtime bundles – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9955) - Revert chunked cache blobs for improved stability – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9965) - Update dependencies – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9968) - Bundler - Fix assets outside project root with Manual Shared Bundles – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9734) - JavaScript - Avoid non-identifier export names in non-entry library bundles – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9587) - Relax react-refresh version range – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9624) - Also emit swc recoverable errors – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9650) - Bump swc – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9574), [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9818), [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9967), [Details](https://redirect.github.com/parcel-bundler/parcel/commit/cfd26ec900b2dc8f85818d2a5a212d60b1036d39) - Bump swc and browserslist-rs – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9838) - Replace std::sync locks with parking_lot locks for better stability – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9731) - Ensure const modules in async bundles are wrapped – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9740) - Fix dev packager global reference – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9814) - Fix import usage tracking for destructure defaulting – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9842) - Update Node.js globals replacer to use SWC VisitMut – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9830) - Update `process.env` replacer to use SWC VisitMut – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9852) - Update Node.js `__filename` and `__dirname` replace to use SWC VisitMut – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9855) - Fix parcelRequire being added to multi-target libraries – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9904) - Handle TypeScript expressions in macro evaluator – [Details](https://redirect.github.com/parcel-bundler/parcel/commit/0bebfa6c53d0cc7b50c12a384ccc8fb13dc4de31) - Resolver - Fix NUL byte crash in resolver – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9640) - Change default resolver error message for custom specifiers – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9378) - TypeScript - Handle dynamic import type references in TS types transformer – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9573) - Correctly handle qualified names in TS types import() – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9579) - SASS - Migrate to new sass API – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9966) - SVG - Load svgo version from project – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9969) - Update svgr and use project svgo version – [Details](https://redirect.github.com/parcel-bundler/parcel/commit/71acf875ede7dfcf3d12b8d25fd50b56339aa43a) - Image - Bump oxipng – [Details](https://redirect.github.com/parcel-bundler/parcel/commit/6b8c8643a5f3aa44723bcde3c1318b68cd5f6999) - Vue - Upgrade consolidate to v1 – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9570) - Web Extensions - Allow both service_worker and scripts in MV3 Web Extensions – [Details](https://redirect.github.com/parcel-bundler/parcel/pull/9673) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/peers/peerjs). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMS41IiwidXBkYXRlZEluVmVyIjoiMzkuMTkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJkZXYtZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.